-- GENERATED SPELL FOR [Sunblade Dragonhawk] --


function spell0_25867(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(47251,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25867', 605, 1)
end

function Sorts_25867(pUnit, Event)
local choix_sorts_25867 = math.random(0, 0)
if choix_sorts_25867 == 0 then
pUnit:RegisterEvent('spell0_25867', 1, 1)
end
end

function mob25867_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25867', math.random(1500, 3000), 1)
end

function mob25867_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25867_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25867_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25867, 1, 'mob25867_Action')
RegisterUnitEvent(25867, 2, 'mob25867_Leave')
RegisterUnitEvent(25867, 3, 'mob25867_Kill')
RegisterUnitEvent(25867, 4, 'mob25867_Die')
